package com.unicampmaps;

import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.view.Display;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import android.widget.ImageView;

public class PostClickImageListener implements OnClickListener{

	public Bitmap image;
	public Context context;
	
	public PostClickImageListener(Context context,Bitmap bitmap){
		image = bitmap;
		this.context=context;
	}
	@Override
	public void onClick(View v) {
		Intent i = new Intent(context, ImageViewer.class);
		ImageViewer.image=image;
		context.startActivity(i);
	}

}
